package framework.test;

import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.util.ArrayList;

import javax.swing.JButton;
import javax.swing.JColorChooser;
import javax.swing.JDialog;
import javax.swing.JFrame;

import framework.AnnuaireCocola;
import framework.classification.entities.ClAbstractEntity;
import framework.classification.entities.ClComponent;
import framework.classification.library.AbstractClassfication;
import framework.classification.library.IOCLassificationDirectory;
import framework.entity.ACLComponent;
import framework.entity.ACLEntity;
import framework.entity.ACLFunction;
import framework.entity.ACLInterface;
import framework.io.out.LatticeToImage;
import framework.io.out.ModelTableToFileTableForErca;
import framework.io.out.ModelTableToFileTableForGalicia;





public class Main {

	public static void main(String[] args) throws IOException {

		System.out.println("ACL Version 2");

		String name = "XMI";
		AnnuaireCocola cocola = new AnnuaireCocola("sample/"+name+".xmi","routedecoupe");
		
		cocola.createClassification(AnnuaireCocola.SMART,AnnuaireCocola.GSH);
		
		
		
		
	
		
		
		
		
		
		
		
		
		/*for (String namecompo : cl.getComponentsNames().keySet()){
			
			System.out.println(namecompo);
							
			ArrayList<ACLComponent> c = cl.getSubstitutionComponent(namecompo);
				for (ACLComponent acl : c){
					System.out.print(acl.getName()+" ");
				}
			
			System.out.println("\n");
			
		}*/
	//	cl.generateAllImage(AbstractClassfication.SVG);
		
		System.out.println("End");
	}

}
